SET PARTICLE LIFE

This command will set the life duration of particles within the particles object.

  Syntax
SET PARTICLE LIFE Particle Number, Life Percentage
  Parameters
Particle Number
Integer
The particle object number
Life Percentage
Integer
The default value of 100 keeps the particle alive long enough to arc, hit the floor and spark. A value smaller than this will stop short this existence

  Returns

This command does not return a value.

  Description

This controls how long the particle will stay alive. The default value of 100 keeps the particle alive long enough to arc, hit the floor and spark. A value smaller than this will stop short this existence.

  Example Code
make particles 4, 0, 10, 10.0
position particles 4, 3, 2, 10
set particle emissions 4, 1
set particle speed 4, 0.005
set particle velocity 4, 10
set particle life 4, 50+rnd(50)
do
loop
delete particles 4
end
  See also

PARTICLES Commands Menu
Index